//
//  LGItem.m
//  微博
//
//  Created by MS on 15-12-27.
//  Copyright (c) 2015年 MS. All rights reserved.
//

#import "LGItem.h"

@implementation LGItem
+(instancetype)itemWithImage:(UIImage *)image title:(NSString *)title subTitle:( NSString * )subTitle
{
    LGItem * item = [[self alloc] init];
    item.image = image;
    item.title = title;
    item.subTitle = subTitle;
    return item;
    
}
+(instancetype)itemWithImage:(UIImage *)image title:(NSString *)title
{
    return [self itemWithImage:image title:title subTitle:nil];
}

+(instancetype)itemWithTitle:(NSString *)title
{
    return [self itemWithImage:nil title:title subTitle:nil];
}
+(instancetype)itemWithTitle:(NSString *)title subTitle:( NSString * )subTitle
{
    
    return [self itemWithImage:nil title:title subTitle:subTitle];
}
@end
